<template>
    <u-form-grid :data="formGrid"></u-form-grid>
</template>

<script>
    import values from '../../utils/values'

    export default {
        name: 'SettlementBatch',
        data () {
            return {
                formGrid: {
                    options: {
                        version: 'v2',
                        url: {
                            page: "/settlementBatch/page",
                            save: "/settlementBatch/save",
                            delete: "/settlementBatch/delete",
                        }
                    },
                    tips: {title: "SettlementBatch", content: "SettlementBatch"},

                    form: {
                        modal: {
                            title: "SettlementBatch"
                        },
                        columns: [
                                        {label: "STATUS_INI", type: "text", name: "STATUS_INI", required: true},
                                        {label: "STATUS_IMPORT_END", type: "text", name: "STATUS_IMPORT_END", required: true},
                                        {label: "STATUS_SUCCESS", type: "text", name: "STATUS_SUCCESS", required: true},
                                        {label: "STATUS_ERROR", type: "text", name: "STATUS_ERROR", required: true},
                                        {label: "STATUS_FAIL", type: "text", name: "STATUS_FAIL", required: true},
                                        {label: "id", type: "text", name: "id", required: true},
                                        {label: "batchNo", type: "text", name: "batchNo", required: true},
                                        {label: "settleDate", type: "text", name: "settleDate", required: true},
                                        {label: "fileName", type: "text", name: "fileName", required: true},
                                        {label: "status", type: "text", name: "status", required: true},
                                        {label: "orderCount", type: "text", name: "orderCount", required: true},
                                        {label: "settleCount", type: "text", name: "settleCount", required: true},
                                        {label: "orderPrice", type: "text", name: "orderPrice", required: true},
                                        {label: "settlePrice", type: "text", name: "settlePrice", required: true},
                                        {label: "settleReFundPrice", type: "text", name: "settleReFundPrice", required: true},
                                        {label: "settleFee", type: "text", name: "settleFee", required: true},
                                        {label: "count", type: "text", name: "count", required: true},
                                        {label: "remark", type: "text", name: "remark", required: true},

                        ]
                    },
                    table: {
                        operation: {
                            primaryKey: "id",
                        },
                        columns: [
                                                        { title: 'STATUS_INI', key: 'STATUS_INI' },
                                                        { title: 'STATUS_IMPORT_END', key: 'STATUS_IMPORT_END' },
                                                        { title: 'STATUS_SUCCESS', key: 'STATUS_SUCCESS' },
                                                        { title: 'STATUS_ERROR', key: 'STATUS_ERROR' },
                                                        { title: 'STATUS_FAIL', key: 'STATUS_FAIL' },
                                                        { title: 'id', key: 'id' },
                                                        { title: 'batchNo', key: 'batchNo' },
                                                        { title: 'settleDate', key: 'settleDate' },
                                                        { title: 'fileName', key: 'fileName' },
                                                        { title: 'status', key: 'status' },
                                                        { title: 'orderCount', key: 'orderCount' },
                                                        { title: 'settleCount', key: 'settleCount' },
                                                        { title: 'orderPrice', key: 'orderPrice' },
                                                        { title: 'settlePrice', key: 'settlePrice' },
                                                        { title: 'settleReFundPrice', key: 'settleReFundPrice' },
                                                        { title: 'settleFee', key: 'settleFee' },
                                                        { title: 'count', key: 'count' },
                                                        { title: 'remark', key: 'remark' },
                                                    ]
                    }
                }
            }
        },
        methods: {

        }
    }
</script>
